package com.hoshiicloud.user.service.organization;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.user.entity.organization.ComOrganizationAttach;
import com.hoshiicloud.user.entity.organization.PlatOrganizationAttachment;

import java.util.List;

/**
 * <p>
 * 机构附件 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-04-28
 */
public interface PlatOrganizationAttachmentService extends IService<PlatOrganizationAttachment> {
    IPage<PlatOrganizationAttachment> getPage(IPage<PlatOrganizationAttachment>  page, QueryWrapper<PlatOrganizationAttachment> queryWrapper, String key);

    PlatOrganizationAttachment getById(Long id);

    boolean save(PlatOrganizationAttachment entity);

    boolean updateById(PlatOrganizationAttachment entity);

    boolean insertAttach4PlatOrganization(List<PlatOrganizationAttachment> platOrganizationAttachmentList);
}
